{% extends "base.html" %}

{% block meta %}
    <meta name="menu-tag" content="53"/>
{% end block %}

{% block main %}

<div class="container">
    <div class="page-header">
        <h3><strong>修改密码</strong></h3>
    </div>
    <form class="form-horizontal" method="post" action="/account_pwd">
        <fieldset>
            <div class="form-group">
                <label for="name" class="col-md-2 control-label">新密码：</label>
                <div class="col-md-8">
                    <input type="password" id="newpassword" name="newpassword" class="form-control" />
                </div>
                <div class="col-md-2 form-control-static text-danger">*</div>
            </div>
            <div class="form-group">
                <label for="gender" class="col-md-2 control-label">确认新密码：</label>
                <div class="col-md-8">
                    <input type="password" id="confirmpassword" name="confirmpassword" class="form-control" />
                </div>
                <div class="col-md-2 form-control-static text-danger">*</div>
            </div>
            {% if password_message %}
                <div class="form-group">
                    <div class="col-md-offset-2 col-md-10 form-control-static text-danger">{{password_message}}</div>
                </div>
            {% end if %}
        </fieldset>
        <div class="form-group">
            <div class="col-md-8 col-md-offset-2">
                <button type="submit" class="btn btn-primary" onclick="return checkInput();">确定</button>
                <button type="reset" class="btn btn-default">重置</button>
            </div>
        </div>
    </form>
</div>
{% end block %}

{% block script %}

{% end block %}
